<div class="event">
<?php foreach($model as $line): ?>
<div class="event-line">
<div class="event-time">
<?php echo $line['date']; ?>
</div>
<div class="event-title">
<?php echo CHtml::link(CHtml::encode($line['name']), array('event/view', 'id'=>$line['id'])); ?>
<div class="event-title-button">
<?php echo CHtml::link('>', array('event/view', 'id'=>$line['id'])); ?>
</div>
</div>
</div>
<div class="clear"></div>
<?php endforeach; ?>
</div>